package com.slmxz.tms.document.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.slmxz.tms.common.model.Option;
import com.slmxz.tms.document.model.entity.Truck;
import com.slmxz.tms.document.model.vo.TruckVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 车辆信息Mapper接口
 * @author sunyao
 * @Date 2024-11-15
 */
public interface TruckMapper extends BaseMapper<Truck> {

    /**
     * 获取车辆信息分页数据
     * @param page 分页对象
     * @return
     */
    List<TruckVO> selectTruckPage(IPage<TruckVO> page, @Param("truck")TruckVO truck);

    List<Option<String>> selectOption(@Param("truck") TruckVO truck);
}
